package com.lysj.bhp.approve.vo;

import javax.persistence.Column;
import java.util.Date;

/**
 * @Author: ZhangWenJian
 * @Create: 2018/8/23--14:22
 * @Description:用来返回用户数据,加上email;
 */
public class ApproveRecordVo {
    private Long approveRecordId;//自增ID
    private Long userId;//用户Id
    private String realname; // 真实姓名
    private int sex;//性别 0.女 1.男
    private Date birthday; //生日
    private String address;//居住地
    private String nation;//民族
    private String idNum; // 身份证号码
    private String issue;//身份证颁布机构
    private Date issueDate;//签发日期
    private Date expiryDate;//过期日
    private String phone; // 手机号码
    private String urgentContacts;//紧急联系人
    private String urgentContactsPhone;//紧急联系人电话
    @Column(name="idCardFrontPhoto", columnDefinition="TEXT")
    private String idCardFrontPhoto; //身份证正面信息
    @Column(name="idCardBackPhoto", columnDefinition="TEXT")
    private String idCardBackPhoto; //身份证反面信息
    @Column(name="multiplePhoto", columnDefinition="TEXT")
    private String multiplePhoto; //二级认证照片



    private int infoStatus;// 基础认证,0:未设置，1：已设置
    private int idCardStatus;// 身份认证,0:未设置，1：已设置 2：审核中 -1:审核不通过
    private int multipleStatus;// 二级认证,0:未设置，1：已设置 2：审核中 -1:审核不通过

    private Date infoRenewalDate;//基础信息更新时间
    private Date idCardRenewalDate;//身份证认证更新时间
    private Date multipleRenewalDate;//二级认证更新时间
    private String email;

    public ApproveRecordVo() {
    }

    public ApproveRecordVo(Long approveRecordId, Long userId, String realname, int sex, Date birthday, String address, String nation, String idNum, String issue, Date issueDate, Date expiryDate, String phone, String urgentContacts, String urgentContactsPhone, String idCardFrontPhoto, String idCardBackPhoto, String multiplePhoto, int infoStatus, int idCardStatus, int multipleStatus, Date infoRenewalDate, Date idCardRenewalDate, Date multipleRenewalDate, String email) {
        this.approveRecordId = approveRecordId;
        this.userId = userId;
        this.realname = realname;
        this.sex = sex;
        this.birthday = birthday;
        this.address = address;
        this.nation = nation;
        this.idNum = idNum;
        this.issue = issue;
        this.issueDate = issueDate;
        this.expiryDate = expiryDate;
        this.phone = phone;
        this.urgentContacts = urgentContacts;
        this.urgentContactsPhone = urgentContactsPhone;
        this.idCardFrontPhoto = idCardFrontPhoto;
        this.idCardBackPhoto = idCardBackPhoto;
        this.multiplePhoto = multiplePhoto;
        this.infoStatus = infoStatus;
        this.idCardStatus = idCardStatus;
        this.multipleStatus = multipleStatus;
        this.infoRenewalDate = infoRenewalDate;
        this.idCardRenewalDate = idCardRenewalDate;
        this.multipleRenewalDate = multipleRenewalDate;
        this.email = email;
    }

    public Long getApproveRecordId() {
        return approveRecordId;
    }

    public void setApproveRecordId(Long approveRecordId) {
        this.approveRecordId = approveRecordId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUrgentContacts() {
        return urgentContacts;
    }

    public void setUrgentContacts(String urgentContacts) {
        this.urgentContacts = urgentContacts;
    }

    public String getUrgentContactsPhone() {
        return urgentContactsPhone;
    }

    public void setUrgentContactsPhone(String urgentContactsPhone) {
        this.urgentContactsPhone = urgentContactsPhone;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }

    public Date getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(Date issueDate) {
        this.issueDate = issueDate;
    }

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getIdCardFrontPhoto() {
        return idCardFrontPhoto;
    }

    public void setIdCardFrontPhoto(String idCardFrontPhoto) {
        this.idCardFrontPhoto = idCardFrontPhoto;
    }

    public String getIdCardBackPhoto() {
        return idCardBackPhoto;
    }

    public void setIdCardBackPhoto(String idCardBackPhoto) {
        this.idCardBackPhoto = idCardBackPhoto;
    }

    public String getMultiplePhoto() {
        return multiplePhoto;
    }

    public void setMultiplePhoto(String multiplePhoto) {
        this.multiplePhoto = multiplePhoto;
    }

    public int getInfoStatus() {
        return infoStatus;
    }

    public void setInfoStatus(int infoStatus) {
        this.infoStatus = infoStatus;
    }

    public int getIdCardStatus() {
        return idCardStatus;
    }

    public void setIdCardStatus(int idCardStatus) {
        this.idCardStatus = idCardStatus;
    }

    public int getMultipleStatus() {
        return multipleStatus;
    }

    public void setMultipleStatus(int multipleStatus) {
        this.multipleStatus = multipleStatus;
    }

    public Date getInfoRenewalDate() {
        return infoRenewalDate;
    }

    public void setInfoRenewalDate(Date infoRenewalDate) {
        this.infoRenewalDate = infoRenewalDate;
    }

    public Date getIdCardRenewalDate() {
        return idCardRenewalDate;
    }

    public void setIdCardRenewalDate(Date idCardRenewalDate) {
        this.idCardRenewalDate = idCardRenewalDate;
    }

    public Date getMultipleRenewalDate() {
        return multipleRenewalDate;
    }

    public void setMultipleRenewalDate(Date multipleRenewalDate) {
        this.multipleRenewalDate = multipleRenewalDate;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
